<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>${title} --- 用户信息的输入</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">

		<link href="skins/javascript/extjs4/resources/css/ext-all.css"
			rel="stylesheet" type="text/css" />
		<script type="text/javascript"
			src="skins/javascript/extjs4/ext-all.js">
</script>
		<script type="text/javascript">
Ext.onReady(function() {
	Ext.create('Ext.Window', {
		title : '  用户信息注册',
		width : 500,
		bodyPadding : 5,
		plain : true,
		layout : 'fit',
		items : [ {
			xtype : 'fieldset',
			title : '用户信息',
			defaultType : 'textfield',
			defaults : {
				width : 280
			},
			items : [ {
				fieldLabel : '姓 &nbsp; &nbsp; &nbsp;名',
				emptyText : '请输入你的姓名',
				id : "txtMemberName",
				allowBlank : false,
				blankText : "这是必需填写的字段"
			}, {
				fieldLabel : '邮箱地址',
				id : "txtMemberEmail",
				vtype : 'email',
				vtypeText : '请输入你的邮箱，如'
			}, {
				xtype : 'datefield',
				fieldLabel : '出生日期',
				name : 'dob',
				format : 'Y-m-d',
				allowBlank : false,
				blankText : "这是必需填写的字段"
			} ]
		} ],
		buttons : [ {
			text : 'Load',
			handler : function() {
			}
		}, {
			text : 'Submit',
			formBind : true,
			handler : function() {
			}
		} ]
	}).show();
});
</script>
	</head>

	<body>
	</body>
</html>
